﻿CREATE TABLE [dbo].[Store_PropertyValue2Product] (
    [Store_Product_Id]       INT NOT NULL,
    [Store_PropertyValue_Id] INT NOT NULL,
    [SortOrder]              INT NOT NULL,
    CONSTRAINT [FK_Store_PropertyValue2Products_Store_Products] FOREIGN KEY ([Store_Product_Id]) REFERENCES [dbo].[Store_Product] ([Id]) ON DELETE CASCADE ON UPDATE CASCADE,
    CONSTRAINT [FK_Store_PropertyValue2Products_Store_PropertyValue] FOREIGN KEY ([Store_PropertyValue_Id]) REFERENCES [dbo].[Store_PropertyValue] ([Id]) ON DELETE CASCADE ON UPDATE CASCADE
);

